package com.ctgu.chatapp.model.pojo

import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey

@Entity(indices = [Index(value = ["chatId"])])
data class User(
    @PrimaryKey(autoGenerate = true)
    val chatId: Int?,
    val phone: String?,
    val password: String,
    val latest: Boolean = false
)